package com.wgtest.utils;

import java.util.Date;
import java.util.Random;

public class OrderId
{
    public static  String getOrderIdByTime()
    {
        Date date = new Date();
        long time = date.getTime();
        String result="";
        Random rm = new Random();
        for(int i=0;i<3;i++){
            result+=rm.nextInt(10);
        }
        return time+result;
    }
}
